package com.example.springboot.swagger2.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author alan
 * @description 权限模块
 * @date 2023/12/12 17:22
 */
@Api(tags = "权限模块")
@RestController
@RequestMapping("/auth")
public class AuthController {

    @ApiOperation("用户登录")
    @GetMapping("/login")
    public String login() {
        return "登录成功";
    }
    



}
